#include <iostream>
using namespace std;

class Date
{
public:
    Date(int year = 1, int month = 1, int day = 1)
    {
        cout << " Date(int year = 1, int month = 1, int day = 1)" << endl;
        _year = year;
        _month = month;
        _day = day;
    }

    Date(const Date& d)
    {
        _year = d._year; 
        _month = d._month;
        _day = d._day;
    }

    void print()
    {
        cout << _year << '-' ;
        cout << _month << '-';
        cout << _day <<endl;
    } 

    ~Date()
    {
        cout << " ~Date() " << endl;
    }
private:
    int _year;  
    int _month;
    int _day;
};

void test(Date& d)
{
    d.print();
}

int main()
{   
    Date d1;
    test(d1);
    cout << sizeof(bool) <<endl;
    return 0;
}
